package com.rj.gpdata.client;

import com.dtflys.forest.annotation.BaseRequest;
import com.dtflys.forest.annotation.Post;
import com.dtflys.forest.annotation.Query;
import com.dtflys.forest.annotation.Var;
import com.rj.gpdata.domain.query.QueryMainFinaData;
import com.rj.gpdata.domain.query.QueryParam;

import java.util.Map;

/**
 *获取财务数据
 */

@BaseRequest(baseURL = "https://datacenter.eastmoney.com/securities/api/data/")
public interface ApiFinanceClient {
    /**
     *获取财务主数据
     *
     * @param param
     * @return
     */
    @Post("/get")
    String get(@Query QueryMainFinaData param);
}
